
package com.xoa.service.nccloud.impl;

import com.xoa.dao.ncclound.NccPostseriesVMapper;
import com.xoa.model.nccloud.NccPostseriesV;
import com.xoa.service.nccloud.NccPostseriesVService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;

@Service
public class NccPostseriesVServiceImpl implements NccPostseriesVService {

    @Resource
    private NccPostseriesVMapper nccPostseriesVMapper;

    public NccPostseriesV getNccPostseriesVById(Long id)throws Exception{
        return nccPostseriesVMapper.getNccPostseriesVById(id);
    }

    public List<NccPostseriesV>	getNccPostseriesVListByMap(Map<String,Object> param)throws Exception{
        return nccPostseriesVMapper.getNccPostseriesVListByMap(param);
    }

    public Integer getNccPostseriesVCountByMap(Map<String,Object> param)throws Exception{
        return nccPostseriesVMapper.getNccPostseriesVCountByMap(param);
    }

    public Integer itriptxAddNccPostseriesV(NccPostseriesV nccPostseriesV)throws Exception{

            return nccPostseriesVMapper.insertNccPostseriesV(nccPostseriesV);
    }

    public Integer itriptxModifyNccPostseriesV(NccPostseriesV nccPostseriesV)throws Exception{

        return nccPostseriesVMapper.updateNccPostseriesV(nccPostseriesV);
    }

    public Integer itriptxDeleteNccPostseriesVById(Long id)throws Exception{
        return nccPostseriesVMapper.deleteNccPostseriesVById(id);
    }



}
